package com.zhaoyizhe.demo.configuration;

import com.zhaoyizhe.demo.controller.UserController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UserConfiguration {
    @Autowired
    private UserController userController;

    public void function(){
        userController.sayHi();
    }

}
